package com.qcby.chatservice.socket;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.tio.websocket.starter.EnableTioWebSocketServer;


/**
 * 聊天服务启动类
 *
 * @author cong.zhen
 * @date 2022/12/30
 */
@Slf4j
@SpringBootApplication
@EnableTioWebSocketServer
@ComponentScan({"com.qcby.chatservice"})
public class ChatServiceStart {
    public static void main(String[] args) throws Exception {
        SpringApplication.run(ChatServiceStart.class, args);
        log.error("aaaa");
        log.error("chatService服务启动成功-----------------------");
    }


}
